package net.roseparadise.dao;
// default package

import java.util.List;

import net.roseparadise.model.Customer;

public interface CustomerDAO {
      
    public void save(Customer transientInstance);
    
	public void delete(Customer persistentInstance);
    
    public Customer findById( java.lang.Integer id);    
    
    public List<Customer> findByExample(Customer instance);
    
    public List findByProperty(String propertyName, Object value);

	public List<Customer> findByName(Object name);
	
	public List<Customer> findByTelephone(Object telephone) ;
	
	public List<Customer> findByQq(Object qq);
	
	public List<Customer> findByMsn(Object msn);
	
	public List<Customer> findByEmail(Object email) ;
	
	public List<Customer> findByCreatedate(Object createdate);	

	public List findAll();
	
    public Customer merge(Customer detachedInstance);

	
}